<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Aquamat: Dokumentacja pliku commandsDefs.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Wygenerowano przez Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Strona&nbsp;główna</span></a></li>
      <li><a href="pages.html"><span>Dodatkowe&nbsp;strony</span></a></li>
      <li><a href="annotated.html"><span>Struktury&nbsp;Danych</span></a></li>
      <li class="current"><a href="files.html"><span>Pliki</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>Lista&nbsp;plików</span></a></li>
      <li><a href="globals.html"><span>Globalne</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Dokumentacja pliku commandsDefs.h</h1><h3>(r58/r57)</h3>
<p>Plik nagłówkowy - Implementacja protokołu komunikacyjnego.  
<a href="#_details">Więcej...</a></p>

<p><a href="commandsDefs_8h_source.html">Idź do kodu źródłowego tego pliku.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Definicje</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#ad52beac29e0bf134e3bb619a398e715c">GUI_BUFFER_FULL</a>&nbsp;&nbsp;&nbsp;0x81</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#a77978712d67ce200da63e6b3a6b3293e">GUI_UNKONWN_COMMAND</a>&nbsp;&nbsp;&nbsp;0x82</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#aafe1bb95bf5164da4b90e43aece0e90e">GUI_CLIENT_PRESENT</a>&nbsp;&nbsp;&nbsp;0x83</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#a0b2224a4f06d7e56c4a17265bb8e890c">GUI_COMMAND_OK</a>&nbsp;&nbsp;&nbsp;0x84</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#a17935abb19d94f75b1721dca64497908">GUI_COMMAND_CKSUM_ERROR</a>&nbsp;&nbsp;&nbsp;0x85</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#a0144770937573479497b5ec370e98cc9">GUI_COMMAND_PARAMS_ERROR</a>&nbsp;&nbsp;&nbsp;0x86</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#a7143e532e1d6d288b40443e38caa2b86">GUI_EMPTY_RES</a>&nbsp;&nbsp;&nbsp;0x87</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#a1e0818c8d53e3762e8305d8e97e6376f">GUI_EXTEND_MASK</a>&nbsp;&nbsp;&nbsp;0x7F</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#a7a44dbdbccefeb2a2b2e44391371d854">GUI_EXTEND_BYTE</a>&nbsp;&nbsp;&nbsp;0x80</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#a86a6508997e69e3fbf25a12f322211ea">GUI_STATUS_COMMAND</a>&nbsp;&nbsp;&nbsp;0x81</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#af6c079ed44284c2049336b98826828cd">GUI_DATETIME_COMMAND</a>&nbsp;&nbsp;&nbsp;0x82</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#a92509c1de8820712c8d143f09e3066b8">GUI_DAYTIME_COMMAND</a>&nbsp;&nbsp;&nbsp;0x83</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#a50a542ddb88a05d008135a7552e6203c">GUI_TEMP_COMMAND</a>&nbsp;&nbsp;&nbsp;0x84</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#a0693671c3d22c1959a39ff2d475cac29">GUI_OUT_COMMAND</a>&nbsp;&nbsp;&nbsp;0x85</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#ac84bbc365bf7bb9e3711acd31aab290a">GUI_ALARM_COMMAND</a>&nbsp;&nbsp;&nbsp;0x86</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#a26980fcb753d23c0d24794bf502674f6">GUI_TIMERS_COMMAND</a>&nbsp;&nbsp;&nbsp;0x87</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#a8e4a803b988827ad914c0144b7a33370">GUI_TIMERSV_COMMAND</a>&nbsp;&nbsp;&nbsp;0x88</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#a8967dcc17e5192aefcdbb8e87eed9ead">GUI_TOP_OFF_COMMAND</a>&nbsp;&nbsp;&nbsp;0x89</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#ab1ef898124e3aa8f65baface90474701">GUI_LOG_COMMAND</a>&nbsp;&nbsp;&nbsp;0x90</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#a91f1e624d82d8d8f83a63030826cfd09">GUI_DEBUG_COMMAND</a>&nbsp;&nbsp;&nbsp;0x91</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#a1c9dd96ae03d552225dfb30ebce49d1b">GUI_SUBCOMMAND_GET_STATUS</a>&nbsp;&nbsp;&nbsp;0x81</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#a99a87c1a39e0d9041c6382300c72aba7">GUI_SUBCOMMAND_GET_STATUS_RESPONSE</a>&nbsp;&nbsp;&nbsp;0xA1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#acddd50d0180c2a666a7bcefa945fe480">GUI_SUBCOMMAND_SET</a>&nbsp;&nbsp;&nbsp;0x82</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#a592a78f350a7974b7e63085c2f9105ce">GUI_SUBCOMMAND_CLEAR</a>&nbsp;&nbsp;&nbsp;0x83</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#ae97bc5a4f80d9b5a743f3bf5e09a7894">GUI_SUBCOMMAND_GET_SETTINGS</a>&nbsp;&nbsp;&nbsp;0x84</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#a72188788b28a9314a63c4d96006b5574">GUI_SUBCOMMAND_GET_SETTINGS_RESPONSE</a>&nbsp;&nbsp;&nbsp;0xA4</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#a69773d7b1ead83f3ae932a37913d7c70">GUI_SUBCOMMAND_SET_STATE</a>&nbsp;&nbsp;&nbsp;0x86</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#a48f0162e31dde862afd6d61a1053a170">GUI_SUBCOMMAND_SET_BLOCK</a>&nbsp;&nbsp;&nbsp;0x87</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#a5a2450ef1cc9dfc28672ebc0e74f9bd1">GUI_SUBCOMMAND_SET_STATE_ALL</a>&nbsp;&nbsp;&nbsp;0x88</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#af25a2786325580886283565a258de63f">GUI_SUBCOMMAND_SET_BLOCK_ALL</a>&nbsp;&nbsp;&nbsp;0x89</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#a4f181208e0d259011a395099bec0ca5d">GUI_SUBCOMMAND_DISCOVER</a>&nbsp;&nbsp;&nbsp;0x8A</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#af48f1616af202a4a1cdd22e3c6ff1bf5">GUI_SUBCOMMAND_DISCOVER_RESPONSE</a>&nbsp;&nbsp;&nbsp;0xAA</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="commandsDefs_8h.html#a8afd173a7aba305f34af679065a6259d">GUI_END_OF_COMMAND</a>&nbsp;&nbsp;&nbsp;0xFE</td></tr>
</table>
<hr/><a name="_details"></a><h2>Opis szczegółowy</h2>
<p>Plik nagłówkowy - Implementacja protokołu komunikacyjnego. </p>
<h2><a class="anchor" id="protocol">
Protokół</a></h2>
<h3><a class="anchor" id="statusmgmt">
Wiadomości statusowe</a></h3>
<div class="fragment"><pre class="fragment">
	1. &lt;GUI_STATUS_COMMAND&gt; &lt;GUI_BUFFER_FULL&gt; &lt;CRC&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - przepełniony bufor odbiorczy sterownika
	
	2. &lt;GUI_STATUS_COMMAND&gt; &lt;GUI_UNKONWN_COMMAND&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - nierozpoznana komenda

	3. &lt;GUI_STATUS_COMMAND&gt; &lt;GUI_CLIENT_PRESENT&gt; &lt;MAIN&gt; &lt;MAJOR&gt; &lt;MINOR&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - aktywny sterownik z podaniem wersji oprogramowania
	
	4. &lt;GUI_STATUS_COMMAND&gt; &lt;GUI_COMMAND_CKSUM_ERROR&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - błąd sumy kontrolnej komendy

	5. &lt;GUI_STATUS_COMMAND&gt; &lt;GUI_COMMAND_OK&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - komenda poprawna
	
	6. &lt;GUI_STATUS_COMMAND&gt; &lt;GUI_COMMAND_PARAMS_ERROR&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - błąd komendy - niepoprawne parametry
	</pre></div><h3><a class="anchor" id="timemgmt">
Zarządzanie czasami</a></h3>
<div class="fragment"><pre class="fragment">
	1. &lt;GUI_DATETIME_COMMAND&gt; &lt;GUI_SUBCOMMAND_GET_SETTINGS&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - pobranie czasu
		Odp: &lt;GUI_DATETIME_COMMAND&gt; &lt;GUI_SUBCOMMAND_GET_SETTINGS_RESPONSE&gt; &lt;YEAR&gt; &lt;MONTH&gt; &lt;DAY&gt; &lt;HOURS&gt; &lt;MINUTES&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt;
		
	2. &lt;GUI_DATETIME_COMMAND&gt; &lt;GUI_SUBCOMMAND_SET&gt; &lt;YEAR&gt; &lt;MONTH&gt; &lt;DAY&gt; &lt;WDAY&gt; &lt;HOURS&gt; &lt;MINUTES&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - ustawienie czasu
		Odp: brak
	
	3. &lt;GUI_DAYTIME_COMMAND&gt; &lt;GUI_SUBCOMMAND_GET_SETTINGS&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - pobranie pory dnia
		Odp: &lt;GUI_DAYTIME_COMMAND&gt; &lt;GUI_SUBCOMMAND_GET_SETTINGS_RESPONSE&gt; &lt;HOUR_FROM&gt; &lt;MINUTES_FORM&gt; &lt;HOUR_TO&gt; &lt;MINUTES_TO&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt;
	
	4. &lt;GUI_DAYTIME_COMMAND&gt; &lt;GUI_SUBCOMMAND_SET_SETTINGS&gt; &lt;HOUR_FROM&gt; &lt;MINUTES_FORM&gt; &lt;HOUR_TO&gt; &lt;MINUTES_TO&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - ustawienie pory dnia
		Odp: brak
	</pre></div><h3><a class="anchor" id="alarmsmgmt">
Zarządzanie alarmami</a></h3>
<div class="fragment"><pre class="fragment">
	1. &lt;GUI_ALARM_COMMAND&gt; &lt;GUI_SUBCOMMAND_GET_STATUS&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - pobranie stanu alarmów
		Odp: &lt;GUI_OUT_COMMAND&gt; &lt;GUI_SUBCOMMAND_GET_STATUS_RESPONSE&gt; &lt;FLAGS&gt; &lt;BLOCK&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - stan alarmów

	2. &lt;GUI_ALARM_COMMAND&gt; &lt;GUI_SUBCOMMAND_CLEAR&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - zeruje aktualne alarmy
		Odp: brak

	3. &lt;GUI_ALARM_COMMAND&gt; &lt;GUI_SUBCOMMAND_SET_BLOCK&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - blokuje powiadomienia o alarmach
		Odp: brak
	</pre></div><h3><a class="anchor" id="outsmgmt">
Zarządzanie wyjściami</a></h3>
<div class="fragment"><pre class="fragment">

	1. &lt;GUI_OUT_COMMAND&gt; &lt;GUI_SUBCOMMAND_GET_STATUS&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - pobranie stanu wyjścia (aktywność, blokada)
		Odp: &lt;GUI_OUT_COMMAND&gt; &lt;GUI_SUBCOMMAND_GET_STATUS_RESPONSE&gt; n x &lt;bajt statusu&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt;

	2. &lt;GUI_OUT_COMMAND&gt; &lt;GUI_SUBCOMMAND_GET_SETTINGS&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - pobranie stanu wyjścia oraz nazwy wyjść
		Odp: &lt;GUI_OUT_COMMAND&gt; &lt;GUI_SUBCOMMAND_GET_SETTINGS_RESPONSE&gt; n x&lt;bajt flags oraz bajty z nazwą&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt;

	3. &lt;GUI_OUT_COMMAND&gt;&lt;GUI_SUBCOMMAND_SET&gt;&lt;id&gt;&lt;FLAGS&gt;&lt;A&gt;&lt;B&gt;&lt;C&gt;&lt;D&gt;&lt;E&gt;&lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - ustawienie nazwy wyjścia oraz flag
		Odp: Brak

	4. &lt;GUI_OUT_COMMAND&gt;&lt;GUI_SUBCOMMAND_SET_STATE&gt;&lt;id&gt;&lt;stan&gt;&lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - ustawienie stanu wyjścia &lt;id&gt; zgodnie z bajtem &lt;stan&gt;
		Odp: Brak

	5. &lt;GUI_OUT_COMMAND&gt;&lt;GUI_SUBCOMMAND_SET_BLOCK&gt;&lt;id&gt;&lt;stan&gt;&lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - ustawienie blokady wyjścia &lt;id&gt; zgodnie z bajtem &lt;stan&gt;
		Odp: Brak

	6. &lt;GUI_OUT_COMMAND&gt;&lt;GUI_SUBCOMMAND_SET_STATE_ALL&gt;&lt;stan&gt;&lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - ustawienie stanu wszystkich wyjść zgodnie z bajtem &lt;stan&gt;
		Odp: Brak
	
	7. &lt;GUI_OUT_COMMAND&gt;&lt;GUI_SUBCOMMAND_SET_BLOCK_ALL&gt;&lt;stan&gt;&lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - ustawienie stanu blokad wszystkich wyjść zgodnie z bajtem &lt;stan&gt;
		Odp: Brak

	</pre></div><h3><a class="anchor" id="topoffmgmt">
Zarządzanie automatyczną dolewką</a></h3>
<div class="fragment"><pre class="fragment">

	1. &lt;GUI_TOP_OFF_COMMAND&gt; &lt;GUI_SUBCOMMAND_GET_STATUS&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - pobranie stanu automatycznej dolewki
		Odp: &lt;GUI_TOP_OFF_COMMAND&gt; &lt;GUI_SUBCOMMAND_GET_STATUS_RESPONSE&gt; &lt;FLAGS&gt; &lt;OUT&gt; &lt;MAX_RUN&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt;

	2. &lt;GUI_TOP_OFF_COMMAND&gt; &lt;GUI_SUBCOMMAND_SET&gt; &lt;FLAGS&gt; &lt;OUT&gt; &lt;MAX_RUN&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - ustawienie parametrów pracy automatycznej dolewki
		Odp: Brak

	3. &lt;GUI_TOP_OFF_COMMAND&gt; &lt;GUI_SUBCOMMAND_CLEAR&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - wyzerowanie blokady pracy AD oraz związanego z tym alarmu
		Odp: Brak
	</pre></div><h3><a class="anchor" id="tempmgmt">
Zarządzanie czujnikami temperatury</a></h3>
<div class="fragment"><pre class="fragment">
	
	1. &lt;GUI_TEMP_COMMAND&gt; &lt;GUI_SUBCOMMAND_GET_STATUS&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - pobranie stanu czujnikow
		Odp: &lt;GUI_TEMP_COMMAND&gt; &lt;GUI_SUBCOMMAND_GET_STATUS_RESPONSE&gt; &lt;ID&gt; &lt;TENS&gt; &lt;UNITS&gt; &lt;FLAGS&gt; &lt;BR&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; 

	2. &lt;GUI_TEMP_COMMAND&gt; &lt;GUI_SUBCOMMAND_GET_SETTINGS&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - pobranie konfiguracji
		Odp: &lt;GUI_TEMP_COMMAND&gt; &lt;GUI_SUBCOMMAND_GET_SETTINGS_RESPONSE&gt; &lt;ID&gt; &lt;TEMP&gt; &lt;TARGET&gt; &lt;TARGET_NIGHT&gt; &lt;MAX&gt; &lt;MIN&gt; &lt;HISTERESIS&gt; &lt;FLAGS&gt; &lt;BR&gt; &lt;OUT_COOLING&gt; &lt;OUT_HEATING&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt;

	3. &lt;GUI_TEMP_COMMAND&gt; &lt;GUI_SUBCOMMAND_DISCOVER&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - wykryj czujniki
		Odp: &lt;GUI_TEMP_COMMAND&gt; &lt;GUI_SUBCOMMAND_DISCOVER_RESPONSE&gt; 8 x &lt;BAJT&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt;

	4. &lt;GUI_TEMP_COMMAND&gt; &lt;GUI_SUBCOMMAND_SET&gt; &lt;ID&gt; &lt;TARGET&gt; &lt;TARGET_NIGHT&gt; &lt;MAX&gt; &lt;MIN&gt; &lt;HISTERESIS&gt; &lt;FLAGS&gt; &lt;OUT_COOLING&gt; &lt;OUT_HEATING&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - ustawienie konfiguracji
	</pre></div><h3><a class="anchor" id="timersmgmt">
Zarządzenie timerami godzinowymi</a></h3>
<div class="fragment"><pre class="fragment">
	1. &lt;GUI_TIMERS_COMMAND&gt; &lt;GUI_SUBCOMMAND_GET_SETTINGS&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - pobranie konfiguracji
		Odp: &lt;GUI_TIMERSV_COMMAND&gt; &lt;GUI_SUBCOMMAND_GET_SETTINGS_RESPONSE&gt; &lt;ID&gt; &lt;FROMH&gt; &lt;FROMM&gt; &lt;TOH&gt; &lt;TOM&gt; &lt;OUT&gt; &lt;FLAGS&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - konfiguracja dla timera o identyfikatorze &lt;ID&gt;

	2. &lt;GUI_TIMERS_COMMAND&gt; &lt;GUI_SUBCOMMAND_SET&gt; &lt;ID&gt; &lt;FROMH&gt; &lt;FROMM&gt; &lt;TOH&gt; &lt;TOM&gt; &lt;OUT&gt; &lt;FLAGS&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - ustawienie konfiguracji
		Odp: Brak
	</pre></div><h3><a class="anchor" id="timersvmgmt">
Zarządzenie timerami interwałowymi</a></h3>
<div class="fragment"><pre class="fragment">
	1. &lt;GUI_TIMERSV_COMMAND&gt; &lt;GUI_SUBCOMMAND_GET_SETTINGS&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - pobranie konfiguracji
		Odp: &lt;GUI_TIMERSV_COMMAND&gt; &lt;GUI_SUBCOMMAND_GET_SETTINGS_RESPONSE&gt; &lt;ID&gt; &lt;OFF&gt; &lt;ON&gt; &lt;OUT&gt; &lt;FLAGS&gt; &lt;COUNTER&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - konfiguracja dla timera o identyfikatorze &lt;ID&gt;

	2. &lt;GUI_TIMERSV_COMMAND&gt; &lt;GUI_SUBCOMMAND_SET&gt; &lt;ID&gt; &lt;OFF&gt; &lt;ON&gt; &lt;OUT&gt; &lt;FLAGS&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - ustawienie konfiguracji
		Odp: Brak
	</pre></div><h3><a class="anchor" id="eventmgmt">
Zarządzanie historią zdarzeń</a></h3>
<div class="fragment"><pre class="fragment">
	1. &lt;GUI_LOG_COMMAND&gt; &lt;GUI_SUBCOMMAND_GET_STATUS&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - żadanie historii zdarzeń
		Odp: &lt;GUI_EVENT_COMMAND&gt; &lt;GUI_SUBCOMMAND_GET_STATUS_RESPONSE&gt; 8 x &lt;UCHAR&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - jeden wpis z historii zdarzeń (8 bajtów).
	
	2. &lt;GUI_LOG_COMMAND&gt; &lt;GUI_SUBCOMMAND_CLEAR&gt; &lt;CRC&gt; &lt;GUI_END_OF_COMMAND&gt; - wyczyszczenie loga
		Odp: brak.
	</pre></div> <hr/><h2>Dokumentacja definicji</h2>
<a class="anchor" id="ac84bbc365bf7bb9e3711acd31aab290a"></a><!-- doxytag: member="commandsDefs.h::GUI_ALARM_COMMAND" ref="ac84bbc365bf7bb9e3711acd31aab290a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_ALARM_COMMAND&nbsp;&nbsp;&nbsp;0x86</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad52beac29e0bf134e3bb619a398e715c"></a><!-- doxytag: member="commandsDefs.h::GUI_BUFFER_FULL" ref="ad52beac29e0bf134e3bb619a398e715c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_BUFFER_FULL&nbsp;&nbsp;&nbsp;0x81</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aafe1bb95bf5164da4b90e43aece0e90e"></a><!-- doxytag: member="commandsDefs.h::GUI_CLIENT_PRESENT" ref="aafe1bb95bf5164da4b90e43aece0e90e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_CLIENT_PRESENT&nbsp;&nbsp;&nbsp;0x83</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a17935abb19d94f75b1721dca64497908"></a><!-- doxytag: member="commandsDefs.h::GUI_COMMAND_CKSUM_ERROR" ref="a17935abb19d94f75b1721dca64497908" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_COMMAND_CKSUM_ERROR&nbsp;&nbsp;&nbsp;0x85</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0b2224a4f06d7e56c4a17265bb8e890c"></a><!-- doxytag: member="commandsDefs.h::GUI_COMMAND_OK" ref="a0b2224a4f06d7e56c4a17265bb8e890c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_COMMAND_OK&nbsp;&nbsp;&nbsp;0x84</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0144770937573479497b5ec370e98cc9"></a><!-- doxytag: member="commandsDefs.h::GUI_COMMAND_PARAMS_ERROR" ref="a0144770937573479497b5ec370e98cc9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_COMMAND_PARAMS_ERROR&nbsp;&nbsp;&nbsp;0x86</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af6c079ed44284c2049336b98826828cd"></a><!-- doxytag: member="commandsDefs.h::GUI_DATETIME_COMMAND" ref="af6c079ed44284c2049336b98826828cd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_DATETIME_COMMAND&nbsp;&nbsp;&nbsp;0x82</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a92509c1de8820712c8d143f09e3066b8"></a><!-- doxytag: member="commandsDefs.h::GUI_DAYTIME_COMMAND" ref="a92509c1de8820712c8d143f09e3066b8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_DAYTIME_COMMAND&nbsp;&nbsp;&nbsp;0x83</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a91f1e624d82d8d8f83a63030826cfd09"></a><!-- doxytag: member="commandsDefs.h::GUI_DEBUG_COMMAND" ref="a91f1e624d82d8d8f83a63030826cfd09" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_DEBUG_COMMAND&nbsp;&nbsp;&nbsp;0x91</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a7143e532e1d6d288b40443e38caa2b86"></a><!-- doxytag: member="commandsDefs.h::GUI_EMPTY_RES" ref="a7143e532e1d6d288b40443e38caa2b86" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_EMPTY_RES&nbsp;&nbsp;&nbsp;0x87</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8afd173a7aba305f34af679065a6259d"></a><!-- doxytag: member="commandsDefs.h::GUI_END_OF_COMMAND" ref="a8afd173a7aba305f34af679065a6259d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_END_OF_COMMAND&nbsp;&nbsp;&nbsp;0xFE</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a7a44dbdbccefeb2a2b2e44391371d854"></a><!-- doxytag: member="commandsDefs.h::GUI_EXTEND_BYTE" ref="a7a44dbdbccefeb2a2b2e44391371d854" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_EXTEND_BYTE&nbsp;&nbsp;&nbsp;0x80</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a1e0818c8d53e3762e8305d8e97e6376f"></a><!-- doxytag: member="commandsDefs.h::GUI_EXTEND_MASK" ref="a1e0818c8d53e3762e8305d8e97e6376f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_EXTEND_MASK&nbsp;&nbsp;&nbsp;0x7F</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab1ef898124e3aa8f65baface90474701"></a><!-- doxytag: member="commandsDefs.h::GUI_LOG_COMMAND" ref="ab1ef898124e3aa8f65baface90474701" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_LOG_COMMAND&nbsp;&nbsp;&nbsp;0x90</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0693671c3d22c1959a39ff2d475cac29"></a><!-- doxytag: member="commandsDefs.h::GUI_OUT_COMMAND" ref="a0693671c3d22c1959a39ff2d475cac29" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_OUT_COMMAND&nbsp;&nbsp;&nbsp;0x85</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a86a6508997e69e3fbf25a12f322211ea"></a><!-- doxytag: member="commandsDefs.h::GUI_STATUS_COMMAND" ref="a86a6508997e69e3fbf25a12f322211ea" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_STATUS_COMMAND&nbsp;&nbsp;&nbsp;0x81</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a592a78f350a7974b7e63085c2f9105ce"></a><!-- doxytag: member="commandsDefs.h::GUI_SUBCOMMAND_CLEAR" ref="a592a78f350a7974b7e63085c2f9105ce" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_SUBCOMMAND_CLEAR&nbsp;&nbsp;&nbsp;0x83</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a4f181208e0d259011a395099bec0ca5d"></a><!-- doxytag: member="commandsDefs.h::GUI_SUBCOMMAND_DISCOVER" ref="a4f181208e0d259011a395099bec0ca5d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_SUBCOMMAND_DISCOVER&nbsp;&nbsp;&nbsp;0x8A</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af48f1616af202a4a1cdd22e3c6ff1bf5"></a><!-- doxytag: member="commandsDefs.h::GUI_SUBCOMMAND_DISCOVER_RESPONSE" ref="af48f1616af202a4a1cdd22e3c6ff1bf5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_SUBCOMMAND_DISCOVER_RESPONSE&nbsp;&nbsp;&nbsp;0xAA</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ae97bc5a4f80d9b5a743f3bf5e09a7894"></a><!-- doxytag: member="commandsDefs.h::GUI_SUBCOMMAND_GET_SETTINGS" ref="ae97bc5a4f80d9b5a743f3bf5e09a7894" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_SUBCOMMAND_GET_SETTINGS&nbsp;&nbsp;&nbsp;0x84</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a72188788b28a9314a63c4d96006b5574"></a><!-- doxytag: member="commandsDefs.h::GUI_SUBCOMMAND_GET_SETTINGS_RESPONSE" ref="a72188788b28a9314a63c4d96006b5574" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_SUBCOMMAND_GET_SETTINGS_RESPONSE&nbsp;&nbsp;&nbsp;0xA4</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a1c9dd96ae03d552225dfb30ebce49d1b"></a><!-- doxytag: member="commandsDefs.h::GUI_SUBCOMMAND_GET_STATUS" ref="a1c9dd96ae03d552225dfb30ebce49d1b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_SUBCOMMAND_GET_STATUS&nbsp;&nbsp;&nbsp;0x81</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a99a87c1a39e0d9041c6382300c72aba7"></a><!-- doxytag: member="commandsDefs.h::GUI_SUBCOMMAND_GET_STATUS_RESPONSE" ref="a99a87c1a39e0d9041c6382300c72aba7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_SUBCOMMAND_GET_STATUS_RESPONSE&nbsp;&nbsp;&nbsp;0xA1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="acddd50d0180c2a666a7bcefa945fe480"></a><!-- doxytag: member="commandsDefs.h::GUI_SUBCOMMAND_SET" ref="acddd50d0180c2a666a7bcefa945fe480" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_SUBCOMMAND_SET&nbsp;&nbsp;&nbsp;0x82</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a48f0162e31dde862afd6d61a1053a170"></a><!-- doxytag: member="commandsDefs.h::GUI_SUBCOMMAND_SET_BLOCK" ref="a48f0162e31dde862afd6d61a1053a170" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_SUBCOMMAND_SET_BLOCK&nbsp;&nbsp;&nbsp;0x87</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af25a2786325580886283565a258de63f"></a><!-- doxytag: member="commandsDefs.h::GUI_SUBCOMMAND_SET_BLOCK_ALL" ref="af25a2786325580886283565a258de63f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_SUBCOMMAND_SET_BLOCK_ALL&nbsp;&nbsp;&nbsp;0x89</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a69773d7b1ead83f3ae932a37913d7c70"></a><!-- doxytag: member="commandsDefs.h::GUI_SUBCOMMAND_SET_STATE" ref="a69773d7b1ead83f3ae932a37913d7c70" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_SUBCOMMAND_SET_STATE&nbsp;&nbsp;&nbsp;0x86</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a5a2450ef1cc9dfc28672ebc0e74f9bd1"></a><!-- doxytag: member="commandsDefs.h::GUI_SUBCOMMAND_SET_STATE_ALL" ref="a5a2450ef1cc9dfc28672ebc0e74f9bd1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_SUBCOMMAND_SET_STATE_ALL&nbsp;&nbsp;&nbsp;0x88</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a50a542ddb88a05d008135a7552e6203c"></a><!-- doxytag: member="commandsDefs.h::GUI_TEMP_COMMAND" ref="a50a542ddb88a05d008135a7552e6203c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_TEMP_COMMAND&nbsp;&nbsp;&nbsp;0x84</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a26980fcb753d23c0d24794bf502674f6"></a><!-- doxytag: member="commandsDefs.h::GUI_TIMERS_COMMAND" ref="a26980fcb753d23c0d24794bf502674f6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_TIMERS_COMMAND&nbsp;&nbsp;&nbsp;0x87</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8e4a803b988827ad914c0144b7a33370"></a><!-- doxytag: member="commandsDefs.h::GUI_TIMERSV_COMMAND" ref="a8e4a803b988827ad914c0144b7a33370" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_TIMERSV_COMMAND&nbsp;&nbsp;&nbsp;0x88</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8967dcc17e5192aefcdbb8e87eed9ead"></a><!-- doxytag: member="commandsDefs.h::GUI_TOP_OFF_COMMAND" ref="a8967dcc17e5192aefcdbb8e87eed9ead" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_TOP_OFF_COMMAND&nbsp;&nbsp;&nbsp;0x89</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a77978712d67ce200da63e6b3a6b3293e"></a><!-- doxytag: member="commandsDefs.h::GUI_UNKONWN_COMMAND" ref="a77978712d67ce200da63e6b3a6b3293e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GUI_UNKONWN_COMMAND&nbsp;&nbsp;&nbsp;0x82</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
</div>
<hr size="1">
<div style="text-align: center;">
<small>Projekt udostępniony jest na zasadach Open Source. Zapoznaj się z warunkami licencji w pliku COPYING znajdujacym się w katalogu głównym.	</small>
</div>

<hr size="1">
<div style="text-align: center;">
Aquamat - sterownik akwarystyczny Open Source
<br/>
Copyright (C) 2009  <a href="http://todryk.pl">Wojciech Todryk</a> (wojciech(at)todryk(dot)pl)
</div>

<div style="text-align: right;">
<small>Dokumentację wygenerowano za pomocą programu&nbsp;</small>
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a>
<small> wersja 1.6.1 (Fri Apr 23 22:48:16 2010)&nbsp;</small>
</div>
